package xcmg.device.dao.mapper.userinfo;

import org.apache.ibatis.annotations.Mapper;
import xcmg.device.service.vo.userinfo.*;

import java.util.List;

@Mapper
public interface LoginInfoMapper {

    List<LoginLogQueryResultVO> selectLogList(LoginLogQeuryParamVO qeuryParam);

    List<LoginLogStatisticVO> selectLogStatics(LoginLogQeuryParamVO qeuryParam);

    List<LoginLogQueryResultVO> selectByUserId(UserLoginLogDetailsQueryParamVO queryParamVO);
    //最新的两条登录登录记录
    List<LoginLogQueryResultVO> lastedTwoLoginRecord(String userId);

    List<LoginLogStatisticVO> selectAgentLoginStatics(AgentLoginLogsQueryVO filters);

    List<LoginLogQueryResultVO> selectAgentLoginDetail(AgentLoginLogsQueryVO filter);
}
